import os
from flask import Blueprint, render_template, Flask, request
from werkzeug.utils import redirect
from apps.user import User  # 连接数据库 中的 User表 和 Money表
from apps.social import Social
# @app.route('/teacher')
# def teacher() :
#     return render_template("teacher.html")
import MySQLdb
db = MySQLdb.connect(host="localhost", user="root", password="", database="test", charset="utf8")
cursor = db.cursor()

i = 1
app = Flask(__name__)


